package com.yonyou.ucf.mdf.app.isvdxq.firstpart.RFIDCodeDetail.entity;

public class PurOut {

    //两表公共字段
    private String tenant_id; //租户ID
    private String creator; //创建人，用户ID
    private String modifier; //修改人，用户ID

    //storerecord表字段
    private String ordercode; //单据编码
    private String ordertype; //单据类型 1采购入库单，2销售发货单
    private String orderstatus; //单据状态，默认传0
    private String orderid; //单据ID
    private String orderdetailid; //单据明细ID
    private String stockId; //发货仓库ID
    private String stockUnitId; //库存单位ID
    private String priceUOM; //计价单位ID
    private String invExchRate; //换算率
    private String unitExchangeType; //库存换算率换算方式
    private String invPriceExchRate; //价格换算率
    private String unitExchangeTypePrice; //价格换算率换算方式

    private String sourceid; //上游单据主表id，对应发货单列表orderId
    private String sourceautoid; //上游单据子表id，对应发货单列表orderDetailId
    private String source; //上游单据类型,发货单列表没有此字段
    private String firstsourceid; //源头单据主表id,暂无
    private String firstsourceautoid; //源头单据子表id,暂无
    private String firstsource; //源头单据类型,暂无
    private String upcode; //上游单据号
    private String firstupcode; //源头单据编码

    private String poid; //暂同源头单据主表ID
    private String podetailid; //暂同源头单据子表id
    private String pocode; //暂同源头单据编码

    private String rfidcodeId; //发货明细对应的标签ID，来自coderifd表主键ID

    private  String productId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    private  String id;

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }


    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getOrdercode() {
        return ordercode;
    }

    public void setOrdercode(String ordercode) {
        this.ordercode = ordercode;
    }

    public String getOrdertype() {
        return ordertype;
    }

    public void setOrdertype(String ordertype) {
        this.ordertype = ordertype;
    }

    public String getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getOrderdetailid() {
        return orderdetailid;
    }

    public void setOrderdetailid(String orderdetailid) {
        this.orderdetailid = orderdetailid;
    }

    public String getStockId() {
        return stockId;
    }

    public void setStockId(String stockId) {
        this.stockId = stockId;
    }

    public String getStockUnitId() {
        return stockUnitId;
    }

    public void setStockUnitId(String stockUnitId) {
        this.stockUnitId = stockUnitId;
    }

    public String getPriceUOM() {
        return priceUOM;
    }

    public void setPriceUOM(String priceUOM) {
        this.priceUOM = priceUOM;
    }

    public String getInvExchRate() {
        return invExchRate;
    }

    public void setInvExchRate(String invExchRate) {
        this.invExchRate = invExchRate;
    }

    public String getUnitExchangeType() {
        return unitExchangeType;
    }

    public void setUnitExchangeType(String unitExchangeType) {
        this.unitExchangeType = unitExchangeType;
    }

    public String getInvPriceExchRate() {
        return invPriceExchRate;
    }

    public void setInvPriceExchRate(String invPriceExchRate) {
        this.invPriceExchRate = invPriceExchRate;
    }

    public String getUnitExchangeTypePrice() {
        return unitExchangeTypePrice;
    }

    public void setUnitExchangeTypePrice(String unitExchangeTypePrice) {
        this.unitExchangeTypePrice = unitExchangeTypePrice;
    }

    public String getSourceid() {
        return sourceid;
    }

    public void setSourceid(String sourceid) {
        this.sourceid = sourceid;
    }

    public String getSourceautoid() {
        return sourceautoid;
    }

    public void setSourceautoid(String sourceautoid) {
        this.sourceautoid = sourceautoid;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getFirstsourceid() {
        return firstsourceid;
    }

    public void setFirstsourceid(String firstsourceid) {
        this.firstsourceid = firstsourceid;
    }

    public String getFirstsourceautoid() {
        return firstsourceautoid;
    }

    public void setFirstsourceautoid(String firstsourceautoid) {
        this.firstsourceautoid = firstsourceautoid;
    }

    public String getFirstsource() {
        return firstsource;
    }

    public void setFirstsource(String firstsource) {
        this.firstsource = firstsource;
    }

    public String getUpcode() {
        return upcode;
    }

    public void setUpcode(String upcode) {
        this.upcode = upcode;
    }

    public String getFirstupcode() {
        return firstupcode;
    }

    public void setFirstupcode(String firstupcode) {
        this.firstupcode = firstupcode;
    }

    public String getPoid() {
        return poid;
    }

    public void setPoid(String poid) {
        this.poid = poid;
    }

    public String getPodetailid() {
        return podetailid;
    }

    public void setPodetailid(String podetailid) {
        this.podetailid = podetailid;
    }

    public String getPocode() {
        return pocode;
    }

    public void setPocode(String pocode) {
        this.pocode = pocode;
    }

    public String getRfidcodeId() {
        return rfidcodeId;
    }

    public void setRfidcodeId(String rfidcodeId) {
        this.rfidcodeId = rfidcodeId;
    }
    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    @Override
    public String toString() {
        return "PurOut{" +
                "tenant_id='" + tenant_id + '\'' +
                ", creator='" + creator + '\'' +
                ", modifier='" + modifier + '\'' +
                ", ordercode='" + ordercode + '\'' +
                ", ordertype='" + ordertype + '\'' +
                ", orderstatus='" + orderstatus + '\'' +
                ", orderid='" + orderid + '\'' +
                ", orderdetailid='" + orderdetailid + '\'' +
                ", stockId='" + stockId + '\'' +
                ", stockUnitId='" + stockUnitId + '\'' +
                ", priceUOM='" + priceUOM + '\'' +
                ", invExchRate='" + invExchRate + '\'' +
                ", unitExchangeType='" + unitExchangeType + '\'' +
                ", invPriceExchRate='" + invPriceExchRate + '\'' +
                ", unitExchangeTypePrice='" + unitExchangeTypePrice + '\'' +
                ", sourceid='" + sourceid + '\'' +
                ", sourceautoid='" + sourceautoid + '\'' +
                ", source='" + source + '\'' +
                ", firstsourceid='" + firstsourceid + '\'' +
                ", firstsourceautoid='" + firstsourceautoid + '\'' +
                ", firstsource='" + firstsource + '\'' +
                ", upcode='" + upcode + '\'' +
                ", firstupcode='" + firstupcode + '\'' +
                ", poid='" + poid + '\'' +
                ", podetailid='" + podetailid + '\'' +
                ", pocode='" + pocode + '\'' +
                ", rfidcodeId='" + rfidcodeId + '\'' +
                ", productId='" + productId + '\'' +
                ", id='" + id + '\'' +
                '}';
    }
}
